const host = 'http://jx.xuzhixiang.top/ap';
const api = {
	
	regApi:host+'/api/reg.php',
	loginApi:host+'/api/login.php',
	goodsListApi:host+'/api/productlist.php',
	detailApi:host+'/api/detail.php',
	addCartApi:host+'/api/add-product.php',
	deleteCartApi:host+'/api/cart-delete.php',
	cartUpdateNumApi:host+'/api/cart-update-num.php',
	cartListApi:host+'/api/cart-list.php',
	newProductApi:host+'/api/goods/goods-list.php',
	allgoodsListApi:host+'/api/allproductlist.php'
}
//var geturl_1 = `http://jx.xuzhixiang.top/ap/api/goods/goods-list.php`
//http://jx.xuzhixiang.top/ap/api/allproductlist.php?pagesize=20&pagenum=4